//
//  UGZRCpay.h
//  onebuycheckstand
//
//  Created by xu yao on 2021/3/5.
//

#import <Foundation/Foundation.h>
#import "USDKTypeDefine.h"
NS_ASSUME_NONNULL_BEGIN

@class UGZRCpayModel;
@interface UGZRCpay : NSObject

/**
 * 单例
 */
+ (instancetype)currentHelper;
/**
 *  黔农云支付
 *  @param payModel                   支付参数模型，必需先给模型赋值，详见UGZRCpayModel
 *  @param completionBlock    唤起支付结果回调
 */
- (void)gzrcpayModel:(UGZRCpayModel *)payModel
            callback:(USDKPayResultHandler)completionBlock;

/**
 * 设置代理回调
 */
+ (void)handleOpenURL:(NSURL *)url onPayResult:(USDKPayResultHandler)payResultHandle ;

@property (nonatomic, strong) Class gzrcpayClass;
/**
 * 黔农云应用编号
 */
@property (nonatomic, copy) NSString *appNO;
/**
 *  黔农云给商户分配的商户编号
 */
@property (nonatomic, copy) NSString *merNo;

@end

NS_ASSUME_NONNULL_END
